\hypertarget{format__vip_8c}{}\doxysubsection{extern/libembroidery/src/formats/format\+\_\+vip.c File Reference}
\label{format__vip_8c}\index{extern/libembroidery/src/formats/format\_vip.c@{extern/libembroidery/src/formats/format\_vip.c}}
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include $<$math.\+h$>$}\newline
{\ttfamily \#include \char`\"{}../embroidery\+\_\+internal.\+h\char`\"{}}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{format__vip_8c_a3fa7f6841a6db32ccbf25b61a79dfae4}{vip\+Decode\+Byte}} (unsigned char b)
\item 
int \mbox{\hyperlink{format__vip_8c_ab8a8a0db6dfbd0eadd353817d6a7c97b}{vip\+Decode\+Stitch\+Type}} (unsigned char b)
\item 
unsigned char $\ast$ \mbox{\hyperlink{format__vip_8c_ae76df61dd8851eb72b97fa686092aa4d}{vip\+Decompress\+Data}} (unsigned char $\ast$input, int compressed\+Input\+Length, int decompressed\+Content\+Length)
\item 
char \mbox{\hyperlink{format__vip_8c_a9dbe86a0803845f5995106d20deabc38}{read\+Vip}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern, FILE $\ast$file)
\item 
unsigned char $\ast$ \mbox{\hyperlink{format__vip_8c_a2bb028689b218cd7804bb43e0ad72a22}{vip\+Compress\+Data}} (unsigned char $\ast$input, int decompressed\+Input\+Size, int $\ast$compressed\+Size)
\item 
unsigned char \mbox{\hyperlink{format__vip_8c_ae703ba782e9edbab5683301d6816ddc9}{vip\+Encode\+Byte}} (\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}} f)
\item 
unsigned char \mbox{\hyperlink{format__vip_8c_a77aff66cc338f6b5988a7f4f9f00cc2d}{vip\+Encode\+Stitch\+Type}} (int st)
\item 
char \mbox{\hyperlink{format__vip_8c_a37f9056462dcb2c323f49e49fe78fa63}{write\+Vip}} (\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$pattern, FILE $\ast$file)
\end{DoxyCompactItemize}
\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const unsigned char \mbox{\hyperlink{format__vip_8c_af343b92924aeba034403b37c3fcb8142}{vip\+Decoding\+Table}} \mbox{[}$\,$\mbox{]}
\end{DoxyCompactItemize}


\doxysubsubsection{Function Documentation}
\mbox{\Hypertarget{format__vip_8c_a9dbe86a0803845f5995106d20deabc38}\label{format__vip_8c_a9dbe86a0803845f5995106d20deabc38}} 
\index{format\_vip.c@{format\_vip.c}!readVip@{readVip}}
\index{readVip@{readVip}!format\_vip.c@{format\_vip.c}}
\doxyparagraph{\texorpdfstring{readVip()}{readVip()}}
{\footnotesize\ttfamily char read\+Vip (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern,  }\item[{FILE $\ast$}]{file }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__vip_8c_a2bb028689b218cd7804bb43e0ad72a22}\label{format__vip_8c_a2bb028689b218cd7804bb43e0ad72a22}} 
\index{format\_vip.c@{format\_vip.c}!vipCompressData@{vipCompressData}}
\index{vipCompressData@{vipCompressData}!format\_vip.c@{format\_vip.c}}
\doxyparagraph{\texorpdfstring{vipCompressData()}{vipCompressData()}}
{\footnotesize\ttfamily unsigned char $\ast$ vip\+Compress\+Data (\begin{DoxyParamCaption}\item[{unsigned char $\ast$}]{input,  }\item[{int}]{decompressed\+Input\+Size,  }\item[{int $\ast$}]{compressed\+Size }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__vip_8c_a3fa7f6841a6db32ccbf25b61a79dfae4}\label{format__vip_8c_a3fa7f6841a6db32ccbf25b61a79dfae4}} 
\index{format\_vip.c@{format\_vip.c}!vipDecodeByte@{vipDecodeByte}}
\index{vipDecodeByte@{vipDecodeByte}!format\_vip.c@{format\_vip.c}}
\doxyparagraph{\texorpdfstring{vipDecodeByte()}{vipDecodeByte()}}
{\footnotesize\ttfamily int vip\+Decode\+Byte (\begin{DoxyParamCaption}\item[{unsigned char}]{b }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__vip_8c_ab8a8a0db6dfbd0eadd353817d6a7c97b}\label{format__vip_8c_ab8a8a0db6dfbd0eadd353817d6a7c97b}} 
\index{format\_vip.c@{format\_vip.c}!vipDecodeStitchType@{vipDecodeStitchType}}
\index{vipDecodeStitchType@{vipDecodeStitchType}!format\_vip.c@{format\_vip.c}}
\doxyparagraph{\texorpdfstring{vipDecodeStitchType()}{vipDecodeStitchType()}}
{\footnotesize\ttfamily int vip\+Decode\+Stitch\+Type (\begin{DoxyParamCaption}\item[{unsigned char}]{b }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__vip_8c_ae76df61dd8851eb72b97fa686092aa4d}\label{format__vip_8c_ae76df61dd8851eb72b97fa686092aa4d}} 
\index{format\_vip.c@{format\_vip.c}!vipDecompressData@{vipDecompressData}}
\index{vipDecompressData@{vipDecompressData}!format\_vip.c@{format\_vip.c}}
\doxyparagraph{\texorpdfstring{vipDecompressData()}{vipDecompressData()}}
{\footnotesize\ttfamily unsigned char $\ast$ vip\+Decompress\+Data (\begin{DoxyParamCaption}\item[{unsigned char $\ast$}]{input,  }\item[{int}]{compressed\+Input\+Length,  }\item[{int}]{decompressed\+Content\+Length }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__vip_8c_ae703ba782e9edbab5683301d6816ddc9}\label{format__vip_8c_ae703ba782e9edbab5683301d6816ddc9}} 
\index{format\_vip.c@{format\_vip.c}!vipEncodeByte@{vipEncodeByte}}
\index{vipEncodeByte@{vipEncodeByte}!format\_vip.c@{format\_vip.c}}
\doxyparagraph{\texorpdfstring{vipEncodeByte()}{vipEncodeByte()}}
{\footnotesize\ttfamily unsigned char vip\+Encode\+Byte (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a2082be9aabfb541dff1825c4ca6a05cd}{Emb\+Real}}}]{f }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__vip_8c_a77aff66cc338f6b5988a7f4f9f00cc2d}\label{format__vip_8c_a77aff66cc338f6b5988a7f4f9f00cc2d}} 
\index{format\_vip.c@{format\_vip.c}!vipEncodeStitchType@{vipEncodeStitchType}}
\index{vipEncodeStitchType@{vipEncodeStitchType}!format\_vip.c@{format\_vip.c}}
\doxyparagraph{\texorpdfstring{vipEncodeStitchType()}{vipEncodeStitchType()}}
{\footnotesize\ttfamily unsigned char vip\+Encode\+Stitch\+Type (\begin{DoxyParamCaption}\item[{int}]{st }\end{DoxyParamCaption})}

\mbox{\Hypertarget{format__vip_8c_a37f9056462dcb2c323f49e49fe78fa63}\label{format__vip_8c_a37f9056462dcb2c323f49e49fe78fa63}} 
\index{format\_vip.c@{format\_vip.c}!writeVip@{writeVip}}
\index{writeVip@{writeVip}!format\_vip.c@{format\_vip.c}}
\doxyparagraph{\texorpdfstring{writeVip()}{writeVip()}}
{\footnotesize\ttfamily char write\+Vip (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{embroidery_8h_a168c2ed6c7e17dd1aa7755aabc1db314}{Emb\+Pattern}} $\ast$}]{pattern,  }\item[{FILE $\ast$}]{file }\end{DoxyParamCaption})}



\doxysubsubsection{Variable Documentation}
\mbox{\Hypertarget{format__vip_8c_af343b92924aeba034403b37c3fcb8142}\label{format__vip_8c_af343b92924aeba034403b37c3fcb8142}} 
\index{format\_vip.c@{format\_vip.c}!vipDecodingTable@{vipDecodingTable}}
\index{vipDecodingTable@{vipDecodingTable}!format\_vip.c@{format\_vip.c}}
\doxyparagraph{\texorpdfstring{vipDecodingTable}{vipDecodingTable}}
{\footnotesize\ttfamily const unsigned char vip\+Decoding\+Table\mbox{[}$\,$\mbox{]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{    0x2E, 0x82, 0xE4, 0x6F, 0x38, 0xA9, 0xDC, 0xC6, 0x7B, 0xB6, 0x28, 0xAC, 0xFD, 0xAA, 0x8A, 0x4E,}
\DoxyCodeLine{    0x76, 0x2E, 0xF0, 0xE4, 0x25, 0x1B, 0x8A, 0x68, 0x4E, 0x92, 0xB9, 0xB4, 0x95, 0xF0, 0x3E, 0xEF,}
\DoxyCodeLine{    0xF7, 0x40, 0x24, 0x18, 0x39, 0x31, 0xBB, 0xE1, 0x53, 0xA8, 0x1F, 0xB1, 0x3A, 0x07, 0xFB, 0xCB,}
\DoxyCodeLine{    0xE6, 0x00, 0x81, 0x50, 0x0E, 0x40, 0xE1, 0x2C, 0x73, 0x50, 0x0D, 0x91, 0xD6, 0x0A, 0x5D, 0xD6,}
\DoxyCodeLine{    0x8B, 0xB8, 0x62, 0xAE, 0x47, 0x00, 0x53, 0x5A, 0xB7, 0x80, 0xAA, 0x28, 0xF7, 0x5D, 0x70, 0x5E,}
\DoxyCodeLine{    0x2C, 0x0B, 0x98, 0xE3, 0xA0, 0x98, 0x60, 0x47, 0x89, 0x9B, 0x82, 0xFB, 0x40, 0xC9, 0xB4, 0x00,}
\DoxyCodeLine{    0x0E, 0x68, 0x6A, 0x1E, 0x09, 0x85, 0xC0, 0x53, 0x81, 0xD1, 0x98, 0x89, 0xAF, 0xE8, 0x85, 0x4F,}
\DoxyCodeLine{    0xE3, 0x69, 0x89, 0x03, 0xA1, 0x2E, 0x8F, 0xCF, 0xED, 0x91, 0x9F, 0x58, 0x1E, 0xD6, 0x84, 0x3C,}
\DoxyCodeLine{    0x09, 0x27, 0xBD, 0xF4, 0xC3, 0x90, 0xC0, 0x51, 0x1B, 0x2B, 0x63, 0xBC, 0xB9, 0x3D, 0x40, 0x4D,}
\DoxyCodeLine{    0x62, 0x6F, 0xE0, 0x8C, 0xF5, 0x5D, 0x08, 0xFD, 0x3D, 0x50, 0x36, 0xD7, 0xC9, 0xC9, 0x43, 0xE4,}
\DoxyCodeLine{    0x2D, 0xCB, 0x95, 0xB6, 0xF4, 0x0D, 0xEA, 0xC2, 0xFD, 0x66, 0x3F, 0x5E, 0xBD, 0x69, 0x06, 0x2A,}
\DoxyCodeLine{    0x03, 0x19, 0x47, 0x2B, 0xDF, 0x38, 0xEA, 0x4F, 0x80, 0x49, 0x95, 0xB2, 0xD6, 0xF9, 0x9A, 0x75,}
\DoxyCodeLine{    0xF4, 0xD8, 0x9B, 0x1D, 0xB0, 0xA4, 0x69, 0xDB, 0xA9, 0x21, 0x79, 0x6F, 0xD8, 0xDE, 0x33, 0xFE,}
\DoxyCodeLine{    0x9F, 0x04, 0xE5, 0x9A, 0x6B, 0x9B, 0x73, 0x83, 0x62, 0x7C, 0xB9, 0x66, 0x76, 0xF2, 0x5B, 0xC9,}
\DoxyCodeLine{    0x5E, 0xFC, 0x74, 0xAA, 0x6C, 0xF1, 0xCD, 0x93, 0xCE, 0xE9, 0x80, 0x53, 0x03, 0x3B, 0x97, 0x4B,}
\DoxyCodeLine{    0x39, 0x76, 0xC2, 0xC1, 0x56, 0xCB, 0x70, 0xFD, 0x3B, 0x3E, 0x52, 0x57, 0x81, 0x5D, 0x56, 0x8D,}
\DoxyCodeLine{    0x51, 0x90, 0xD4, 0x76, 0xD7, 0xD5, 0x16, 0x02, 0x6D, 0xF2, 0x4D, 0xE1, 0x0E, 0x96, 0x4F, 0xA1,}
\DoxyCodeLine{    0x3A, 0xA0, 0x60, 0x59, 0x64, 0x04, 0x1A, 0xE4, 0x67, 0xB6, 0xED, 0x3F, 0x74, 0x20, 0x55, 0x1F,}
\DoxyCodeLine{    0xFB, 0x23, 0x92, 0x91, 0x53, 0xC8, 0x65, 0xAB, 0x9D, 0x51, 0xD6, 0x73, 0xDE, 0x01, 0xB1, 0x80,}
\DoxyCodeLine{    0xB7, 0xC0, 0xD6, 0x80, 0x1C, 0x2E, 0x3C, 0x83, 0x63, 0xEE, 0xBC, 0x33, 0x25, 0xE2, 0x0E, 0x7A,}
\DoxyCodeLine{    0x67, 0xDE, 0x3F, 0x71, 0x14, 0x49, 0x9C, 0x92, 0x93, 0x0D, 0x26, 0x9A, 0x0E, 0xDA, 0xED, 0x6F,}
\DoxyCodeLine{    0xA4, 0x89, 0x0C, 0x1B, 0xF0, 0xA1, 0xDF, 0xE1, 0x9E, 0x3C, 0x04, 0x78, 0xE4, 0xAB, 0x6D, 0xFF,}
\DoxyCodeLine{    0x9C, 0xAF, 0xCA, 0xC7, 0x88, 0x17, 0x9C, 0xE5, 0xB7, 0x33, 0x6D, 0xDC, 0xED, 0x8F, 0x6C, 0x18,}
\DoxyCodeLine{    0x1D, 0x71, 0x06, 0xB1, 0xC5, 0xE2, 0xCF, 0x13, 0x77, 0x81, 0xC5, 0xB7, 0x0A, 0x14, 0x0A, 0x6B,}
\DoxyCodeLine{    0x40, 0x26, 0xA0, 0x88, 0xD1, 0x62, 0x6A, 0xB3, 0x50, 0x12, 0xB9, 0x9B, 0xB5, 0x83, 0x9B, 0x37}
\DoxyCodeLine{\}}

\end{DoxyCode}
\hypertarget{format__vp3_8c_Pfaff}{}\doxyparagraph{Embroidery Format (.\+pcq)}\label{format__vp3_8c_Pfaff}
\index{vip@{vip}} \index{Pfaff@{Pfaff}}

The Pfaff vip format is stitch-\/only. 